-- GENERATED SPELL FOR [Iron Rune Overseer] --


function spell0_27177(pUnit, Event) --@Call Lightning,n/a--
pUnit:FullCastSpellOnTarget(32018,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_27177', 620, 1)
end

function Sorts_27177(pUnit, Event)
local choix_sorts_27177 = math.random(0, 0)
if choix_sorts_27177 == 0 then
pUnit:RegisterEvent('spell0_27177', 1, 1)
end
end

function mob27177_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_27177', math.random(1500, 3000), 1)
end

function mob27177_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob27177_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob27177_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(27177, 1, 'mob27177_Action')
RegisterUnitEvent(27177, 2, 'mob27177_Leave')
RegisterUnitEvent(27177, 3, 'mob27177_Kill')
RegisterUnitEvent(27177, 4, 'mob27177_Die')
